package ciyuan.Item;

import ciyuan.Block.Machine.Simple.SimpleMachineRegister;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;

public class ItemGroups {

    public static final ItemGroup Armor = (new ItemGroup("CiYuanRPG.Armor") {
        @Override
        @OnlyIn(Dist.CLIENT)
        public ItemStack makeIcon() {
            return new ItemStack(ItemRegisterManager.xinshouHelmet.get());
        }
    });

    public static final ItemGroup Block = (new ItemGroup("CiYuanRPG.Block") {
        @Override
        @OnlyIn(Dist.CLIENT)
        public ItemStack makeIcon() {
            return new ItemStack(ItemRegisterManager.TinOre.get());
        }
    });

    public static final ItemGroup Food = (new ItemGroup("CiYuanRPG.Food") {
        @Override
        @OnlyIn(Dist.CLIENT)
        public ItemStack makeIcon() {
            return new ItemStack(ItemRegisterManager.Scallion.get());
        }
    });

    public static final ItemGroup Life = (new ItemGroup("CiYuanRPG.Life") {
        @Override
        @OnlyIn(Dist.CLIENT)
        public ItemStack makeIcon() {
            return new ItemStack(ItemRegisterManager.Kettle.get());
        }
    });

    public static final ItemGroup Machine = (new ItemGroup("CiYuanRPG.Machine") {
        @Override
        @OnlyIn(Dist.CLIENT)
        public ItemStack makeIcon() {
            return new ItemStack(SimpleMachineRegister.BURNISHER_ITEM.get());
        }
    });

    public static final ItemGroup Material = (new ItemGroup("CiYuanRPG.Material") {
        @Override
        @OnlyIn(Dist.CLIENT)
        public ItemStack makeIcon() {
            return new ItemStack(ItemRegisterManager.Oil.get());
        }
    });

    public static final ItemGroup SkillBook = (new ItemGroup("CiYuanRPG.SkillBook") {
        @Override
        @OnlyIn(Dist.CLIENT)
        public ItemStack makeIcon() {
            return new ItemStack(ItemRegisterManager.adjudication.get());
        }
    });

    public static final ItemGroup Tools = (new ItemGroup("CiYuanRPG.Tools") {
        @Override
        @OnlyIn(Dist.CLIENT)
        public ItemStack makeIcon() {
            return new ItemStack(ItemRegisterManager.WoodAxe0.get());
        }
    });

    public static final ItemGroup Weapon = (new ItemGroup("CiYuanRPG.Weapon") {
        @Override
        @OnlyIn(Dist.CLIENT)
        public ItemStack makeIcon() {
            return new ItemStack(ItemRegisterManager.firstbigsword.get());
        }
    });

}
